package org.ljy.springblog.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

@AllArgsConstructor
public enum ResultCodeEnum {
    //1.成功
    SUCCESS(200),
    //2.未登录情况
    NO_LOGIN(-1),
    //3.异常情况
    FAIL(-2),
    //4.参数错误
    PARAM_ERROR(-3);

    @Getter
    int code;

}
